package com.thf.service;

import com.thf.model.PageModel;
import com.thf.model.ResultData;
import com.thf.model.UserModel;

import java.util.Map;

public interface UserService {
    ResultData login(UserModel userModel);

    ResultData userFindAll(PageModel pageModel);

    ResultData userFind(PageModel pageModel, Map map);

    Integer getCount(Map map);

    ResultData add(Map map);

    ResultData delete(Integer userModel);

    ResultData getUserById(Integer stringToInt);

    ResultData update(Map map);

    ResultData updateEnadle(String id);
}
